﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

using NinjaToolbox.SubComponentModule;

namespace NinjaToolbox.BattleSystem
{
    public abstract class BattleObject_SubComponent<TModel> : BattleObject_SubComponentBase
        where TModel : SubComponentModelBase
    {
        TModel mCacheModel;
        protected TModel Model { get { return mCacheModel ?? (mCacheModel = mModel as TModel); } }
    }
}
